package c_admin

import (
	"gintest/models"
	"gintest/until"
	"github.com/gin-gonic/gin"
)

func Index_welcome(c *gin.Context){
	until.Success(c,gin.H{
		"user_total":models.GetUserCount(),
		"systemset_total":models.GetConfigCount(),
		"ad_total":models.GetAdCount(),
	})
}
